package edu.tms.bean;

import java.util.*;

import net.easymvc.annotation.Valid;


public class AssessmentInfo {
	/**
	 * 评测id
	 */
	private Integer assessmentId;

	/**
	 * 测评课程id
	 */
	private Integer courseId;

	/**
	 * 被测评教师id
	 */
	private Integer tchId;

	/**
	 * 评测时间
	 */
	private Date createTime;

	/**
	 * 评测开始时间
	 */
	@Valid(pattern="yyyy年MM月dd日")
	private Date assessmentStartTime;

	/**
	 * 评测结束时间
	 */
	@Valid(pattern="yyyy年MM月dd日")
	private Date assessmentEndTime;

	/**
	 * 评测实行状态 1测评中 2已完成 
	 */
	private Integer assessmentFulfillState;

	/**
	 * 评测状态 1正常 2冻结 
	 */
	private Integer assessmentState;
	
	/**
	 * 虚拟字段 课程名称
	 */
	private String courseName;
	/**
	 * 虚拟字段 老师名字
	 */
	private String tchName;
	/**
	 * 虚拟字段  班级名字
	 */
	private String className;

	public AssessmentInfo () {
		super();
	}

	public AssessmentInfo (Integer assessmentId,Integer courseId,Integer tchId,Date createTime,Date assessmentStartTime,Date assessmentEndTime,Integer assessmentFulfillState,Integer assessmentState) {
		this.assessmentId = assessmentId;
		this.courseId = courseId;
		this.tchId = tchId;
		this.createTime = createTime;
		this.assessmentStartTime = assessmentStartTime;
		this.assessmentEndTime = assessmentEndTime;
		this.assessmentFulfillState = assessmentFulfillState;
		this.assessmentState = assessmentState;
	}

	public Integer getAssessmentId() {
		return this.assessmentId;
	}

	public void setAssessmentId(Integer assessmentId) {
		this.assessmentId = assessmentId;
	}


	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getTchName() {
		return tchName;
	}

	public void setTchName(String tchName) {
		this.tchName = tchName;
	}

	public Integer getCourseId() {
		return this.courseId;
	}

	public void setCourseId(Integer courseId) {
		this.courseId = courseId;
	}

	public Integer getTchId() {
		return this.tchId;
	}

	public void setTchId(Integer tchId) {
		this.tchId = tchId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getAssessmentStartTime() {
		return this.assessmentStartTime;
	}

	public void setAssessmentStartTime(Date assessmentStartTime) {
		this.assessmentStartTime = assessmentStartTime;
	}

	public Date getAssessmentEndTime() {
		return this.assessmentEndTime;
	}

	public void setAssessmentEndTime(Date assessmentEndTime) {
		this.assessmentEndTime = assessmentEndTime;
	}

	public Integer getAssessmentFulfillState() {
		return this.assessmentFulfillState;
	}

	public void setAssessmentFulfillState(Integer assessmentFulfillState) {
		this.assessmentFulfillState = assessmentFulfillState;
	}

	public Integer getAssessmentState() {
		return this.assessmentState;
	}

	public void setAssessmentState(Integer assessmentState) {
		this.assessmentState = assessmentState;
	}

	@Override
	public String toString() {
		return "AssessmentInfo[assessmentId=" + assessmentId+ ", courseId=" + courseId + ", tchId=" + tchId + ", createTime=" + createTime + ", assessmentStartTime=" + assessmentStartTime + ", assessmentEndTime=" + assessmentEndTime + ", assessmentFulfillState=" + assessmentFulfillState + ", assessmentState=" + assessmentState + "]";
	}


}

